﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using PowerHub.MES.Entities.BasicData;

namespace PowerHub.MES.Entities.Shopfloor;

/// <summary>
/// 产线
/// </summary>
[Table("Shopfloor_ProductionLine")]
public partial class Shopfloor_ProductionLine : BaseEntity
{
    /// <summary>
    /// 生产线编码
    /// </summary>
    public string? ProductionLineNo { get; set; }

    /// <summary>
    /// 车间id
    /// </summary>
    public string? WorkshopId { get; set; }

    /// <summary>
    /// 生产线名称
    /// </summary>
    public string? ProductionLineName { get; set; }

    /// <summary>
    /// 负责人
    /// </summary>
    public string? PersonInCharge { get; set; }

    /// <summary>
    /// 负责人id
    /// </summary>
    public string? UserId { get; set; }

    /// <summary>
    /// 面积
    /// </summary>
    public int? Area { get; set; }



    //public virtual ICollection<Shopfloor_WorkStation> ShopfloorWorkStations { get; set; } = new List<Shopfloor_WorkStation>();

    public virtual BasicData_Userinfo? User { get; set; }

    public virtual Shopfloor_Workshopinfo? Workshop { get; set; }
}
